home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / technical documentation / develop / develop issue 28 / develop issue 28 code / macapp debugging / twistdownlists / balloonhelp.r < prev    next >
Encoding:
Text File  |  1996-10-04  |  19.3 KB  |  827 lines

  1. //--------------------------------------------------------------------------------------------------                                                                            
  2. // BalloonHelp.r
  3. // ETO20 MacApp 3.3.1, MPW 3.4.1
  4. // Copyright © 1996 by Conrad Kopala
  5. // Twist Down Lists version 2.0a0 7/15/96
  6. //--------------------------------------------------------------------------------------------------
  7.  
  8. #ifndef __TWISTDOWNGLOBALS__
  9. #include "TwistDownGlobals.r"
  10. #endif
  11.  
  12. #include $$Shell("MALibraries") "HelpStrings.r";
  13.  
  14. include "Defaults.rsrc" 'hmnu' (mEdit);        // Grab the default Edit menu balloon help
  15.  
  16. resource 'STR#' (kTDLMenuHelpStrings,
  17. #if qNames
  18. "TDLMenuHelpStrings",
  19. #endif
  20. purgeable) {
  21.     {
  22. // [1]
  23.         "No help yet for this  item",
  24. // [2]    New, Grayed
  25.         "Opens a new "TARGET_APPLICATION_NAME" document called “untitled.” Not ava"
  26.         "ilable because we don't do new documents.",
  27. // [3]    Open…, Normal 
  28.         "Opens a disk directory.",    
  29. // [4]    Open…, Grayed
  30.         "Opens a disk directory. Not available becau"
  31.             "se there is not enough memory.",
  32.  
  33.     }
  34. };
  35.  
  36. resource 'hmnu' (mFile,
  37. #if qNames
  38. "File Menu Help",
  39. #endif
  40. purgeable) {
  41.     HelpMgrVersion,
  42.     hmDefaultOptions,
  43.     0,
  44.     0,
  45.     HMSkipItem { },
  46.     {
  47.  
  48.         HMStringResItem {                // File 
  49.             kStandardHelpStrings,32,
  50.             kStandardHelpStrings,33,
  51.             -1,0,
  52.             -1,0
  53.         },
  54.         HMStringResItem {                // New 
  55.             kTDLMenuHelpStrings,2,
  56.             kTDLMenuHelpStrings,2,
  57.             -1,0,
  58.             -1,0
  59.         },
  60.         HMStringResItem {                // Open… 
  61.             kTDLMenuHelpStrings,3,
  62.             kTDLMenuHelpStrings,4,
  63.             -1,0,
  64.             -1,0
  65.         },
  66.         HMSkipItem { },                    // --------
  67.         HMStringResItem {                // Close 
  68.             kStandardHelpStrings,38,
  69.             kStandardHelpStrings,39,
  70.             -1,0,
  71.             -1,0
  72.         },
  73.         HMStringResItem {                // Save 
  74.             kStandardHelpStrings,40,
  75.             kStandardHelpStrings,41,
  76.             -1,0,
  77.             -1,0
  78.         },
  79.         HMStringResItem {                // Save As… 
  80.             kStandardHelpStrings,42,
  81.             kStandardHelpStrings,43,
  82.             -1,0,
  83.             -1,0
  84.         },
  85.         HMStringResItem {                // Revert 
  86.             kStandardHelpStrings,52,
  87.             kStandardHelpStrings,53,
  88.             -1,0,
  89.             -1,0
  90.         },
  91.         HMSkipItem { },                    // --------
  92.         HMStringResItem {                // Page Setup… 
  93.             kStandardHelpStrings,44,
  94.             kStandardHelpStrings,45,
  95.             -1,0,
  96.             -1,0
  97.         },
  98.         HMStringResItem {                // Print One 
  99.             kStandardHelpStrings,50,
  100.             kStandardHelpStrings,51,
  101.             -1,0,
  102.             -1,0
  103.         },
  104.         HMStringResItem {                // Print… 
  105.             kStandardHelpStrings,46,
  106.             kStandardHelpStrings,47,
  107.             -1,0,
  108.             -1,0
  109.         },
  110.         HMSkipItem { },                    // --------
  111.         HMStringResItem {                // Quit 
  112.             kStandardHelpStrings,48,
  113.             kStandardHelpStrings,49,
  114.             -1,0,
  115.             -1,0
  116.         }
  117.     }
  118. };
  119.  
  120. resource 'STR#' (kFormatMenuHelpStrings,
  121. #if qNames
  122. "FormatMenuHelpStrings",
  123. #endif
  124. purgeable) {
  125.     {
  126. // [1]    Format Menu, Normal
  127.         "Format menu\$0D\$0DUse this menu to change the font, font size, or writing direction.",
  128. // [2]    Format Menu, grayed
  129.         "Format menu\$0D\$0DUse this menu to change the font, font size, or writing direction.",
  130.  
  131. // [3]    Font…, Normal 
  132.         "Font menu\$0D\$0DUse this to change the font",    
  133. // [4]    Font…, Grayed
  134.         "Font menu\$0D\$0DUse this to change the font.",
  135.  
  136.     }
  137. };
  138.  
  139. resource 'STR#' (kWritingDirectionHelpStrings,
  140. #if qNames
  141. "WritingDirectionHelpStrings",
  142. #endif
  143. purgeable) {
  144.     {
  145. // [1]    Use System Direction, Normal 
  146.         "Use this to set the writing direction to the system direction.",    
  147. // [2]    Use System Direction, Grayed -never used because this item is always enabled.
  148.         "Use System Direction"
  149.             "If you see this message, call the developer.",
  150. // [3]    Use System Direction, Checked
  151.         "Use this to stop using the system direction and set it using the following command.",
  152.  
  153. // [4]    Left to right or right-to-left toggled command, Normal 
  154.         "Use this to set the writing direction to left-to-right or right-to-left.",    
  155. // [5]    Left-to-right or right-to-left toggled commandt, Grayed
  156.         "Left-to-right or right-to-left. Not available because the system direction is being used or a document isn't open.",
  157.  
  158.     }
  159. };
  160.  
  161. resource 'STR#' (kSizeMenuHelpStrings,
  162. #if qNames
  163. "SizeMenuHelpStrings",
  164. #endif
  165. purgeable) {
  166.     {
  167. // [1]    9 point, Normal 
  168.         "Changes font to 9 point.",    
  169. // [2]    9 point, Grayed
  170.         "Changes font to 9 point. Not available becau"
  171.             "se there is no open window.",
  172. // [3]    9 point, Checked
  173.         "9 point font is the current font size.",
  174.         
  175. // [4]    10 point, Normal 
  176.         "Changes font to 10 point.",    
  177. // [5]    10 point, Grayed
  178.         "Changes font to 10 point. Not available becau"
  179.             "se there is no open window.",
  180. // [6]    10 point, Checked
  181.         "10 point font is the current font size.", 
  182.  
  183. // [7]    12 point, Normal 
  184.         "Changes font to 12 point.",    
  185. // [8]    12 point, Grayed
  186.         "Changes font to 12 point. Not available becau"
  187.             "se there is no open window.",
  188. // [9]    12 point, Checked
  189.         "12 point font is the current font size.", 
  190.         
  191. // [10]    14 point, Normal 
  192.         "Changes font to 14 point.",    
  193. // [11]    14 point, Grayed
  194.         "Changes font to 14 point. Not available becau"
  195.             "se there is no open window.",
  196. // [12]    14 point, Checked
  197.         "14 point font is the current font size.", 
  198.         
  199. // [13]    18 point, Normal 
  200.         "Changes font to 18 point.",    
  201. // [14]    18 point, Grayed
  202.         "Changes font to 18 point. Not available becau"
  203.             "se there is no open window.",
  204. // [15]    18 point, Checked
  205.         "18 point font is the current font size.", 
  206.         
  207. // [16]    24 point, Normal 
  208.         "Changes font to 24 point.",    
  209. // [17]    24 point, Grayed
  210.         "Changes font to 24 point. Not available becau"
  211.             "se there is no open window.",
  212. // [18]    24 point, Checked
  213.         "24 point font is the current font size.", 
  214.         
  215. // [19]    Larger, Normal 
  216.         "Increases font size by one point.",    
  217. // [20]    Larger, Grayed
  218.         "Increases font size by one point. Not available becau"
  219.             "se there is no open window.",
  220.             
  221. // [21]    Smaller, Normal
  222.         "Decreases font size by one point.", 
  223. // [22]    Smaller, Normal
  224.         "Decreases font size by one point. Not available becau"
  225.             "se there is no open window.",
  226.  
  227. // [23]    Other, Normal
  228.         "Allows font size to be directly set.", 
  229. // [24]    Other, Normal
  230.         "Allows font size to be directly set. Not available becau"
  231.             "se there is no open window.",            
  232.     }
  233. };
  234.  
  235. resource 'hmnu' (mFormatMenu,
  236. #if qNames
  237. "Format Menu Help",
  238. #endif
  239. purgeable) {
  240.     HelpMgrVersion,
  241.     hmDefaultOptions,
  242.     0,
  243.     0,
  244.     HMSkipItem { },
  245.     {
  246.  
  247.         HMStringResItem {                // Format Menu
  248.             kFormatMenuHelpStrings,1,
  249.             kFormatMenuHelpStrings,2,
  250.             -1,0,
  251.             -1,0
  252.         },
  253.         
  254.         HMStringResItem {                // Use System Direction menu item
  255.             kWritingDirectionHelpStrings,1,
  256.             kWritingDirectionHelpStrings,2,
  257.             kWritingDirectionHelpStrings,3,
  258.             -1,0
  259.         },
  260.         HMStringResItem {                // Left-to-Right & Right-to-Left toggled menu item
  261.             kWritingDirectionHelpStrings,4,
  262.             kWritingDirectionHelpStrings,5,
  263.             -1,0,
  264.             -1,0
  265.         },
  266.         HMSkipItem { },                    // --------        
  267.         HMStringResItem {                // 9 point menu item
  268.             kSizeMenuHelpStrings,1,
  269.             kSizeMenuHelpStrings,2,
  270.             kSizeMenuHelpStrings,3,
  271.             -1,0
  272.         },
  273.         HMStringResItem {                // 10 point menu item
  274.             kSizeMenuHelpStrings,4,
  275.             kSizeMenuHelpStrings,5,
  276.             kSizeMenuHelpStrings,6,
  277.             -1,0
  278.         },
  279.         HMStringResItem {                // 12 point menu item
  280.             kSizeMenuHelpStrings,7,
  281.             kSizeMenuHelpStrings,8,
  282.             kSizeMenuHelpStrings,9,
  283.             -1,0
  284.         },
  285.         HMStringResItem {                // 14 point menu item
  286.             kSizeMenuHelpStrings,10,
  287.             kSizeMenuHelpStrings,11,
  288.             kSizeMenuHelpStrings,12,
  289.             -1,0
  290.         },
  291.         HMStringResItem {                // 18 point menu item
  292.             kSizeMenuHelpStrings,13,
  293.             kSizeMenuHelpStrings,14,
  294.             kSizeMenuHelpStrings,15,
  295.             -1,0
  296.         },
  297.         HMStringResItem {                // 24 point menu item
  298.             kSizeMenuHelpStrings,16,
  299.             kSizeMenuHelpStrings,17,
  300.             kSizeMenuHelpStrings,18,
  301.             -1,0
  302.         },
  303.         HMSkipItem { },                    // --------
  304.         HMStringResItem {                // Larger menu item
  305.             kSizeMenuHelpStrings,19,
  306.             kSizeMenuHelpStrings,20,
  307.             -1,0,
  308.             -1,0
  309.         },
  310.         HMStringResItem {                // Smaller menu item
  311.             kSizeMenuHelpStrings,21,
  312.             kSizeMenuHelpStrings,22,
  313.             -1,0,
  314.             -1,0
  315.         },
  316.         HMSkipItem { },                    // --------
  317.         HMStringResItem {                // Other menu item
  318.             kSizeMenuHelpStrings,23,
  319.             kSizeMenuHelpStrings,24,
  320.             -1,0,
  321.             -1,0
  322.         },
  323.         HMSkipItem { },                    // --------        
  324.         HMStringResItem {                // Font menu item
  325.             kFormatMenuHelpStrings,3,
  326.             kFormatMenuHelpStrings,4,
  327.             -1,0,
  328.             -1,0
  329.         },    
  330.     }
  331. };
  332.  
  333. resource 'STR#' (kFontMenuHelpStrings,
  334. #if qNames
  335. "FontMenuHelpStrings",
  336. #endif
  337. purgeable) {
  338.     {
  339. // [1]    Font Menu, Normal
  340.         "Font menu\$0D\$0DUse this menu to change the font.",
  341. // [2]    Font Menu, grayed
  342.         "Font menu\$0D\$0DUse this menu to change the font.",
  343. // [3]    Font Menu item, Normal 
  344.         "A font. Click to change to this font.",    
  345.  
  346. // [4]    Font Menu item, Grayed
  347.         "A font. It is not available because there is no open window.",
  348. // [5]    Font Menu item, Normal 
  349.         "This is the current font",    
  350.  
  351.     }
  352. };
  353.  
  354. resource 'hmnu' (mFontMenu,
  355. #if qNames
  356. "Font Menu Help",
  357. #endif
  358. purgeable) {
  359.     HelpMgrVersion,
  360.     hmDefaultOptions,
  361.     0,
  362.     0,
  363.         HMStringResItem {                // Missing menu item
  364.             kFontMenuHelpStrings,3,
  365.             kFontMenuHelpStrings,4,
  366.             kFontMenuHelpStrings,5,
  367.             -1,0
  368.         },
  369.     {
  370.  
  371.         HMStringResItem {                // Font menu
  372.             kFontMenuHelpStrings,1,
  373.             kFontMenuHelpStrings,2,
  374.             -1,0,
  375.             -1,0
  376.         },
  377.  
  378.     }
  379. };
  380.  
  381. resource 'STR#' (kControlMenuHelpStrings,
  382. #if qNames
  383. "ControlMenuHelpStrings",
  384. #endif
  385. purgeable) {
  386.     {
  387. // [1]    Control Menu, Normal
  388.         "Control menu\$0D\$0DUse this menu to control various aspects of the application's operation.",
  389. // [2]    Control Menu, grayed
  390.         "Control menu\$0D\$0DUse this menu to control various aspects of the application's operation.",
  391.  
  392. // [3]    Fail Here, Normal 
  393.         "Use this to cause a failure while Opening a volume if a file or folder has the name FailHere.",    
  394. // [4]    Fail Here, Grayed
  395.         "Use this to cause a failure while Opening a volume if a file or folder has the name FailHere.",
  396. // [5]    Fail Here, Checked
  397.         "The Open command will fail if a file or folder on the volume has the name FailHere.",
  398.         
  399. // [6]    Show Invisibles Menu, Normal 
  400.         "Use this to cause the Open command to read in normally invisible files and folders.",    
  401. // [7]    Show Invisibles Menu, Grayed
  402.         "Use this to cause the Open command to read in normally invisible files and folders.",
  403. // [8]    Show Invisibles Menu, Checked
  404.         "Normally invisible files and folders will be displayed.",
  405.         
  406. // [9]    Expand All, Normal 
  407.         "Use this to expand the whole list",    
  408. // [10]    Expand All, Grayed
  409.         "The Expand All command is not available because there is nothing to expand or there is not enough memory.",
  410.         
  411. // [11]    Collapse All, Normal 
  412.         "Use this to collapse the whole list.",    
  413. // [12]    Collapse All, Grayed
  414.         "The Collapse All command is not available because there is nothing to collapse.",
  415.         
  416. // [13]    Allow Unlimited Docs, Normal 
  417.         "Use this to allow the application to open the same disk many times",    
  418. // [14]    Allow Unlimited Docs, Grayed
  419.         "Not available????.",        
  420.     }
  421. };
  422.  
  423. resource 'STR#' (kAppleEventsHelpStrings,
  424. #if qNames
  425. "AppleEventsMenuHelpStrings",
  426. #endif
  427. purgeable) {
  428.     {
  429. // [1]    Send Apple Events, Normal 
  430.         "The application will not send Apple Events.",    
  431. // [2]    Send Apple Events, Grayed
  432.         "The application will not send Apple Events. ",
  433. // [3]    Send Apple Events, Checked
  434.         "The application will send Apple Events",
  435.         
  436. // [4]    Route to doc or route to view, Normal 
  437.         "Use this to cause Apple Events to be routed to the document or the view.",    
  438. // [5]    Route to docu or route to view, Grayed
  439.         "Use this to cause Apple Events to be routed to the document or the view. Not available because Apple Events are not being sent.",
  440.     }
  441. };
  442.  
  443. resource 'hmnu' (mControlMenu,
  444. #if qNames
  445. "Control Menu Help",
  446. #endif
  447. purgeable) {
  448.     HelpMgrVersion,
  449.     hmDefaultOptions,
  450.     0,
  451.     0,
  452.     HMSkipItem { },
  453.     {
  454.  
  455.         HMStringResItem {                // Control Menu
  456.             kControlMenuHelpStrings,1,
  457.             kControlMenuHelpStrings,2,
  458.             -1,0,
  459.             -1,0
  460.         },
  461.         HMStringResItem {                // Fail Here menu item
  462.             kControlMenuHelpStrings,3,
  463.             kControlMenuHelpStrings,4,
  464.             kControlMenuHelpStrings,5,
  465.             -1,0
  466.         },
  467.         HMStringResItem {                // Show invisibles menu item
  468.             kControlMenuHelpStrings,6,
  469.             kControlMenuHelpStrings,7,
  470.             kControlMenuHelpStrings,8,
  471.             -1,0
  472.         },
  473.         HMSkipItem { },                    // --------                
  474.         HMStringResItem {                // Expand All menu item
  475.             kControlMenuHelpStrings,9,
  476.             kControlMenuHelpStrings,10,
  477.             -1,0,
  478.             -1,0
  479.         },
  480.         HMStringResItem {                // Collapse All menu item
  481.             kControlMenuHelpStrings,11,
  482.             kControlMenuHelpStrings,12,
  483.             -1,0,
  484.             -1,0
  485.         },
  486.         HMSkipItem { },                    // --------                
  487.         HMStringResItem {                // Send Apple Events menu item
  488.             kAppleEventsHelpStrings,1,
  489.             kAppleEventsHelpStrings,2,
  490.             kAppleEventsHelpStrings,3,
  491.             -1,0
  492.         },
  493.         HMStringResItem {                // Route to Doc or route to view toggled menu item
  494.             kAppleEventsHelpStrings,4,
  495.             kAppleEventsHelpStrings,5,
  496.             kAppleEventsHelpStrings,6,
  497.             -1,0
  498.         },
  499.         HMSkipItem { },                    // --------                
  500.         HMStringResItem {                // Allow unlimited documents
  501.             kControlMenuHelpStrings,13,
  502.             kControlMenuHelpStrings,14,
  503.             -1,0,
  504.             -1,0
  505.         },
  506.     }
  507. };
  508.  
  509.  
  510. #if qDebug
  511.  
  512. resource 'STR#' (kTestMenuHelpStrings,
  513. #if qNames
  514. "TestMenuMenuHelpStrings",
  515. #endif
  516. purgeable) {
  517.     {
  518. // [1]    TestMenu, Normal 
  519.         "Test menu\$0D\$0DUse this menu to set various application parameters.",    
  520. // [2]    TestMenu, Grayed
  521.         "Test menu\$0D\$0DUse this menu to set various application parameters-grayed. ",
  522.         
  523. // [3]    gAppUserFlag1, Normal 
  524.         "Use this to set gAppUserFlag1.",    
  525. // [4]    gAppUserFlag1, Grayed
  526.         "Use this to set or clear gAppUserFlag1-grayed.",
  527. // [5]    gAppUserFlag1, Checked
  528.         "Use this to clear gAppUserFlag1.",
  529.  
  530. // [6]    gAppUserFlag2, Normal 
  531.         "Use this to set gAppUserFlag2.",    
  532. // [7]    gAppUserFlag2, Grayed
  533.         "Use this to set or clear gAppUserFlag2-grayed.",
  534. // [8]    gAppUserFlag2, Checked
  535.         "Use this to clear gAppUserFlag2.",
  536.  
  537. // [9]    gAppUserFlag3, Normal 
  538.         "Use this to set gAppUserFlag3.",    
  539. // [10]    gAppUserFlag3, Grayed
  540.         "Use this to set or clear gAppUserFlag3-grayed.",
  541. // [11]    gAppUserFlag3, Checked
  542.         "Use this to clear gAppUserFlag3.",
  543.         
  544. // [12]    Count Objects, Normal 
  545.         "Use this to enable object counting.",    
  546. // [13]    Count Objects, Grayed
  547.         "Use this to enable object counting-grayed.",
  548. // [14]    Count Objects, Checked
  549.         "Object counting is enabled.",
  550.  
  551. // [15]    Reset Object Count, Normal 
  552.         "Use this to reset the object count to zero.",    
  553. // [16]    Reset Object Count, Grayed
  554.         "Use this to reset the object count to zero-grayed.",
  555.         
  556. // [17]    Print base class info, Normal 
  557.         "Use this to cause TObject class info to be printed.",    
  558. // [18]    Print base class info, Grayed
  559.         "Use this to cause TObject class info to be printed-grayed.",
  560. // [19]    Print base class info, Checked
  561.         "Use this to stop printing TObject class info.",        
  562.  
  563. // [20]    Print MacApp class info, Normal 
  564.         "Use this to cause MacApp class info to be printed.",    
  565. // [21]    Print MacApp class info, Grayed
  566.         "Use this to cause MacApp class info to be printed-grayed.",
  567. // [22]    Print MacApp class info, Checked
  568.         "Use this to stop printing MacApp class info.",
  569.         
  570. // [23]    Print App class info, Normal 
  571.         "Use this to cause your application class info to be printed.",    
  572. // [24]    Print App class info, Grayed
  573.         "Use this to cause your app class info to be printed-grayed.",
  574. // [25]    Print App class info, Checked
  575.         "Use this to stop printing your application class info.",        
  576.     }
  577. };
  578.  
  579. resource 'hmnu' (mTestMenu,
  580. #if qNames
  581. "Test Menu Help",
  582. #endif
  583. purgeable) {
  584.     HelpMgrVersion,
  585.     hmDefaultOptions,
  586.     0,
  587.     0,
  588.     HMSkipItem { },
  589.     {
  590.  
  591.         HMStringResItem {                // Test Menu
  592.             kTestMenuHelpStrings,1,
  593.             kTestMenuHelpStrings,2,
  594.             -1,0,
  595.             -1,0
  596.         },
  597.         HMStringResItem {                // AppUserFlag1
  598.             kTestMenuHelpStrings,3,
  599.             kTestMenuHelpStrings,4,
  600.             kTestMenuHelpStrings,5,
  601.             -1,0
  602.         },
  603.         HMStringResItem {                // AppUserFlag2
  604.             kTestMenuHelpStrings,6,
  605.             kTestMenuHelpStrings,7,
  606.             kTestMenuHelpStrings,8,
  607.             -1,0
  608.         },
  609.         
  610.         HMStringResItem {                // AppUserFlag3
  611.             kTestMenuHelpStrings,9,
  612.             kTestMenuHelpStrings,10,
  613.             kTestMenuHelpStrings,11,
  614.             -1,0
  615.         },
  616.         HMSkipItem { },                    // --------                
  617.         
  618.         HMStringResItem {                // CountObjects
  619.             kTestMenuHelpStrings,12,
  620.             kTestMenuHelpStrings,13,
  621.             kTestMenuHelpStrings,14,
  622.             -1,0
  623.         },
  624.         
  625.         HMStringResItem {                // ResetObjectCount
  626.             kTestMenuHelpStrings,15,
  627.             kTestMenuHelpStrings,16,
  628.             -1,0,
  629.             -1,0
  630.         },
  631.         HMSkipItem { },                    // --------                
  632.         
  633.         HMStringResItem {                // Print base class info
  634.             kTestMenuHelpStrings,17,
  635.             kTestMenuHelpStrings,18,
  636.             kTestMenuHelpStrings,19,
  637.             -1,0
  638.         },
  639.     
  640.         HMStringResItem {                // Print MacApp class info
  641.             kTestMenuHelpStrings,20,
  642.             kTestMenuHelpStrings,21,
  643.             kTestMenuHelpStrings,22,
  644.             -1,0
  645.         },
  646.         HMStringResItem {                // Print app class info
  647.             kTestMenuHelpStrings,23,
  648.             kTestMenuHelpStrings,24,
  649.             kTestMenuHelpStrings,25,
  650.             -1,0
  651.         },        
  652.     }
  653. };
  654.  
  655.  
  656. #endif
  657.  
  658. resource 'STR#' (kTwistDownControlHelpStrings,
  659. #if qNames
  660. "TwistDownControlHelpStrings",
  661. #endif
  662. purgeable) {
  663.     {
  664. // [1]    Windows Menu, Normal
  665.         "This is a twistDownControl. Click to expand or collapse the control",
  666.     
  667.     }
  668. };
  669.  
  670. resource 'hdlg' (kTwistDowncontrolHelp, 
  671. #if qNames
  672. "TwistDownControlHelp", 
  673. #endif
  674. purgeable) 
  675. {
  676.     HelpMgrVersion,
  677.     0,
  678.     hmDefaultOptions,
  679.     0, /* balloon definition function */
  680.     5, /* variation code */
  681.     HMSkipItem {}, /* No missing item help */
  682.     {
  683.         HMStringResItem     //
  684.         {
  685.             { -1,0 }, /* tip location */
  686.             { 0,0,0,0 }, /* hot rectangle */
  687.             kTwistDownControlHelpStrings,1,
  688.             kTwistDownControlHelpStrings,1,
  689.             kTwistDownControlHelpStrings,1,
  690.             kTwistDownControlHelpStrings,1,
  691.         }
  692.     }
  693. };
  694.  
  695. resource 'STR#' (kWindowsMenuHelpStrings,
  696. #if qNames
  697. "WindowsMenuHelpStrings",
  698. #endif
  699. purgeable) {
  700.     {
  701. // [1]    Windows Menu, Normal
  702.         "Windows menu\$0D\$0DUse this menu to select a window.",
  703. // [2]    Windows Menu, grayed
  704.         "Windows menu\$0D\$0DUse this menu to select a window.",
  705. // [3]    Windows Menu item, Normal
  706.         "This is a window. Click to bring it to the front.",        
  707. // [4]    Windows Menu item, grayed
  708.         "This is a window. Not available.",
  709. // [5]    Windows Menu item, marked
  710.         "This is the front window.",        
  711.     }
  712. };
  713.  
  714. resource 'hmnu' (mWindowsMenu,
  715. #if qNames
  716. "Windows Menu Help",
  717. #endif
  718. purgeable) {
  719.     HelpMgrVersion,
  720.     hmDefaultOptions,
  721.     0,
  722.     0,
  723.         HMStringResItem {                // Missing item
  724.             kWindowsMenuHelpStrings,3,
  725.             kWindowsMenuHelpStrings,4,
  726.             -1,0,
  727.             kWindowsMenuHelpStrings,5
  728.         },
  729.     {
  730.  
  731.         HMStringResItem {                // Windows Menu
  732.             kWindowsMenuHelpStrings,1,
  733.             kWindowsMenuHelpStrings,2,
  734.             -1,0,
  735.             -1,0
  736.         },
  737.     }
  738. };
  739.  
  740. resource 'STR#' (kChangeFontSizeDialogHelpStrings,
  741. #if qNames
  742. "ChangeFontSizeDialogHelpStrings",
  743. #endif
  744. purgeable) {
  745.     {
  746. // [1]    Font size value NumberText
  747.         "Enter a new font size.",
  748. // [2]    OK button
  749.         "Click to change to the new font size.",
  750. // [3]    Cancel button
  751.         "Click to cancel.",    
  752.     }
  753. };
  754.  
  755. resource 'hdlg' (kChangeFontSizeDialogHelp, 
  756. #if qNames
  757. "ChangeFontSizeDialogHelp", 
  758. #endif
  759. purgeable) 
  760. {
  761.     HelpMgrVersion,
  762.     0,
  763.     hmDefaultOptions,
  764.     0, /* balloon definition function */
  765.     5, /* variation code */
  766.     HMSkipItem {}, /* No missing item help */
  767.     {
  768.         HMStringResItem     //Font size value NumberText
  769.         {
  770.             { -1,0 }, /* tip location */
  771.             { 0,0,0,0 }, /* hot rectangle */
  772.             kChangeFontSizeDialogHelpStrings,1,
  773.             kChangeFontSizeDialogHelpStrings,1,
  774.             kChangeFontSizeDialogHelpStrings,1,
  775.             kChangeFontSizeDialogHelpStrings,1,
  776.         },
  777.  
  778.         HMStringResItem     //OK Button
  779.         {
  780.             { -1,0 }, /* tip location */
  781.             { 0,0,0,0 }, /* hot rectangle */
  782.             kChangeFontSizeDialogHelpStrings,2,
  783.             kChangeFontSizeDialogHelpStrings,2,
  784.             kChangeFontSizeDialogHelpStrings,2,
  785.             kChangeFontSizeDialogHelpStrings,2,
  786.         },
  787.         
  788.         HMStringResItem         //Cancel button
  789.         {
  790.             { -1,0 }, /* tip location */
  791.             { 0,0,0,0 }, /* hot rectangle */
  792.             kChangeFontSizeDialogHelpStrings,3,
  793.             kChangeFontSizeDialogHelpStrings,3,
  794.             kChangeFontSizeDialogHelpStrings,3,
  795.             kChangeFontSizeDialogHelpStrings,3,
  796.         }
  797.     }
  798. };
  799.  
  800. resource 'STR#' (kAppIconHelpStrings,
  801. #if qNames
  802. "WindowsMenuHelpStrings",
  803. #endif
  804. purgeable) {
  805.     {
  806. // [1]    Application Icon help
  807.         "This is the Twist Down Lists application. "
  808.         "Use it to view the contents of a volume.",
  809.  
  810.     }
  811. };
  812.  
  813. resource 'hfdr' (-5696,
  814. #if qNames
  815. "AppFinderHelp",
  816. #endif
  817. nonpurgeable) {
  818.     HelpMgrVersion,
  819.     hmDefaultOptions,
  820.     0,
  821.     0,
  822.     {
  823.         HMStringResItem{            //Application Icon help
  824.             kAppIconHelpStrings,1,
  825.         },
  826.     }
  827. };